<!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta charset="utf-8" />
		<title>登陆 - FinalCMS Admin</title>

		<meta name="description" content="User login page" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

		<link rel="stylesheet" href="${ctx}/css/bootstrap.min.css" />
		<link rel="stylesheet" href="${ctx}/css/font-awesome.min.css" />

		<!-- text fonts -->
		<link rel="stylesheet" href="${ctx}/css/fc-fonts.css" />

		<!-- ace styles -->
		<link rel="stylesheet" href="${ctx}/css/fc.min.css" />
		
		<!-- fc login styles -->
		<link rel="stylesheet" href="${ctx}/css/fc/fc-login.css" />

		<!--[if lte IE 9]>
			<link rel="stylesheet" href="${ctx}/css/fc-part2.min.css" />
		<![endif]-->
		<link rel="stylesheet" href="${ctx}/css/fc-rtl.min.css" />

		<!--[if lte IE 9]>
		  <link rel="stylesheet" href="${ctx}/css/fc-ie.min.css" />
		<![endif]-->

		<!--[if lt IE 9]>
		<script src="${ctx}/js/html5shiv.js"></script>
		<script src="${ctx}/js/respond.min.js"></script>
		<![endif]-->
	</head>

	<body class="login-layout">
		<div class="main-container">
			<div class="main-content">
				<div class="row">
					<div class="col-sm-10 col-sm-offset-1">
						<div class="login-container">
							<div class="center">
								<h1>
									<i class="ace-icon fa fa-leaf green"></i>
									<span class="red">FinalCMS</span>
									<span class="white" id="id-text2">Application</span>
								</h1>
								<h4 class="blue" id="id-company-text">&copy; My Company</h4>
							</div>

							<div class="space-6"></div>

							<div class="position-relative">
								<div id="login-box" class="login-box visible widget-box no-border">
									<div class="widget-body">
										<div class="widget-main">
											<h4 class="header blue lighter bigger">
												<i class="ace-icon fa fa-coffee green"></i>
												<span id="_msg">请输入账号和密码</span>
											</h4>
											<div class="space-6"></div>

											<form action="/admin/login" method="post">
												<fieldset>
													<label class="block clearfix">
														<span class="block input-icon input-icon-right">
															<input type="text" class="form-control input-lg" placeholder="账号" name="email" id="email" />
															<i class="ace-icon fa fa-user"></i>
														</span>
													</label>

													<label class="block clearfix">
														<span class="block input-icon input-icon-right">
															<input type="password" class="form-control input-lg" placeholder="密码"  name="password" id="password"/>
															<i class="ace-icon fa fa-lock"></i>
														</span>
													</label>

													<span class="verify-span">
														<img alt="验证码" src="${ctx}/admin/genCaptchaImg" class="verify-img" id="verify-img">
														<span class="glyphicon glyphicon-ok" id="verify-icon"></span>
													</span>
													<label class="block clearfix verify-code-label">
														<span class="block input-icon input-icon-right">
															<input type="text" maxlength="6" id="verify-code-input" class="form-control input-lg verify-code-input" placeholder="验证码" />
															<i class="ace-icon fa fa-arrow-left"></i>
														</span>
													</label>
													
													<div class="space"></div>

													<div class="clearfix">
														<label class="inline">
															<input type="checkbox" class="ace" id="remember-me" />
															<span class="lbl"> 记住我</span>
														</label>

														<button type="button" id="loginBtn" class="width-35 pull-right btn btn-sm btn-primary">
															<i class="ace-icon fa fa-key"></i>
															<span class="bigger-110" id="subBtn">登陆</span>
														</button>
													</div>
													<div class="space-4"></div>
												</fieldset>
											</form>

										</div><!-- /.widget-main -->

										<div class="toolbar clearfix">
											<div>
												<a href="#" data-target="#forgot-box" class="forgot-password-link">
													<i class="ace-icon fa fa-arrow-left"></i>
													忘记密码?
												</a>
											</div>

											<div>
												<a href="/admin/regist" data-target="#signup-box" class="user-signup-link">
													注册
													<i class="ace-icon fa fa-arrow-right"></i>
												</a>
											</div>
										</div>
									</div><!-- /.widget-body -->
								</div><!-- /.login-box -->
							</div><!-- /.position-relative -->

							<div class="navbar-fixed-top align-right">
								<br />
								&nbsp;
								<a id="btn-login-dark" href="#">暗色</a>
								&nbsp;
								<span class="blue">/</span>
								&nbsp;
								<a id="btn-login-blur" href="#">渐进</a>
								&nbsp;
								<span class="blue">/</span>
								&nbsp;
								<a id="btn-login-light" href="#">亮色</a>
								&nbsp; &nbsp; &nbsp;
							</div>
						</div>
					</div><!-- /.col -->
				</div><!-- /.row -->
			</div><!-- /.main-content -->
		</div><!-- /.main-container -->

		<!--[if !IE]> -->
		<script type="text/javascript">
			window.jQuery || document.write("<script src='${ctx}/js/jquery2.1.0.min.js'>"+"<"+"/script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
		<script type="text/javascript">
		 	window.jQuery || document.write("<script src='${ctx}/js/jquery1.11.0.min.js'>"+"<"+"/script>");
		</script>
		<![endif]-->
		<script type="text/javascript">
			if('ontouchstart' in document.documentElement) document.write("<script src='${ctx}/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>

		<!-- inline scripts related to this page -->
		<script type="text/javascript" src="${ctx}/js/admin/fc.login.js"></script>
		
		<!-- 修复ie10以下版本不支持placholder属性 -->
		<!--[if lte IE 9]>
		<script type="text/javascript" src="${ctx}/js/placeholder.js"></script>
		<![endif]-->
		
		<script type="text/javascript" src="${ctx}/js/jquery.cookie.js"></script>
		
	</body>
</html>
